package com.hdax.dmw.order.service;

import com.hdax.dmw.common.utils.Result;
import com.hdax.dmw.entity.order.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dmw.order.dtos.LinkUserDto;
import com.hdax.dmw.order.dtos.OrderListDto;
import com.hdax.dmw.order.vo.SubmitOrderVo;

import java.util.List;
import java.util.Map;

/**
* @author guoyisha
* @description 针对表【dm_order(订单表)】的数据库操作Service
* @createDate 2023-07-28 14:30:54
*/
public interface OrderService extends IService<Order> {

    Result<List<LinkUserDto>> linkUserList(Long userId);

    Result<Map<String,String>> submitOrder(SubmitOrderVo vo, String token);

    Result<List<OrderListDto>> orderList(Map<String,Object> params);

    Order detail(String orderNo);
}
